<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>薪资实付明细管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/paypaymentdetails/paydayPaymentDetails/">薪资实付明细列表</a></li>
		<shiro:hasPermission name="paypaymentdetails:paydayPaymentDetails:edit"><li><a href="${ctx}/paypaymentdetails/paydayPaymentDetails/form">薪资实付明细添加</a></li></shiro:hasPermission>
	</ul>
	<form:form id="searchForm" modelAttribute="paydayPaymentDetails" action="${ctx}/paypaymentdetails/paydayPaymentDetails/" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<ul class="ul-form">
			<li><label>国家id：</label>
				<sys:treeselect id="office" name="office.id" value="${paydayPaymentDetails.office.id}" labelName="office.name" labelValue="${paydayPaymentDetails.office.name}"
					title="部门" url="/sys/office/treeData?type=2" cssClass="input-small" allowClear="true" notAllowSelectParent="true"/>
			</li>
			<li><label>企业编号：</label>
				<form:input path="company.id" htmlEscape="false" maxlength="255" class="input-medium"/>
			</li>
			<li><label>员工编号：</label>
				<form:input path="emploee.id" htmlEscape="false" maxlength="255" class="input-medium"/>
			</li>
			<li><label>统计时间段：</label>
				<form:input path="genDateStr" htmlEscape="false" maxlength="255" class="input-medium"/>
			</li>
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<li class="clearfix"></li>
		</ul>
	</form:form>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>国家id</th>
				<th>企业编号</th>
				<th>员工编号</th>
				<th>qt合计</th>
				<th>统计时间段</th>
				<th>qt_工资</th>
				<th>假期工时</th>
				<th>假期工资</th>
				<th>标准工时</th>
				<th>节假日工时</th>
				<th>带薪年假</th>
				<th>带薪病假</th>
				<th>调休时间</th>
				<th>丧假</th>
				<th>产假</th>
				<th>其它假期</th>
				<th>1.25倍工资</th>
				<th>1.5倍工资</th>
				<th>2倍工资</th>
				<th>平时工资</th>
				<th>2.5倍工资</th>
				<th>3倍工资</th>
				<th>假期工资</th>
				<th>带薪年假工资</th>
				<th>带薪病假工资</th>
				<th>带薪调休工资</th>
				<th>带薪丧假工资</th>
				<th>带薪产假工资</th>
				<th>其它假期工资</th>
				<th>1.25倍工时</th>
				<th>1.5倍工资工时</th>
				<th>2倍工资工时</th>
				<th>2.5倍工资工时</th>
				<th>3倍工资工时</th>
				<th>应支付总工资</th>
				<th>时薪标准</th>
				<th>增值税率</th>
				<th>实际支付工资</th>
				<th>雇主成本</th>
				<th>employer_cost_rmb</th>
				<th>备注</th>
				<shiro:hasPermission name="paypaymentdetails:paydayPaymentDetails:edit"><th>操作</th></shiro:hasPermission>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="paydayPaymentDetails">
			<tr>
				<td><a href="${ctx}/paypaymentdetails/paydayPaymentDetails/form?id=${paydayPaymentDetails.id}">
					${paydayPaymentDetails.office.name}
				</a></td>
				<td>
					${paydayPaymentDetails.company.id}
				</td>
				<td>
					${paydayPaymentDetails.emploee.id}
				</td>
				<td>
					${paydayPaymentDetails.qtTotal}
				</td>
				<td>
					${paydayPaymentDetails.genDateStr}
				</td>
				<td>
					${paydayPaymentDetails.qtWages}
				</td>
				<td>
					${paydayPaymentDetails.holidaysHours}
				</td>
				<td>
					${paydayPaymentDetails.holidaysWages}
				</td>
				<td>
					${paydayPaymentDetails.standardHours}
				</td>
				<td>
					${paydayPaymentDetails.legalHolidaysHours}
				</td>
				<td>
					${paydayPaymentDetails.paidAnnualLeaveHours}
				</td>
				<td>
					${paydayPaymentDetails.paidSickLeaveHours}
				</td>
				<td>
					${paydayPaymentDetails.tuneOffHours}
				</td>
				<td>
					${paydayPaymentDetails.funeralLeaveHours}
				</td>
				<td>
					${paydayPaymentDetails.maternityLeaveHours}
				</td>
				<td>
					${paydayPaymentDetails.otherHolidaysHours}
				</td>
				<td>
					${paydayPaymentDetails.qtQuarterWages}
				</td>
				<td>
					${paydayPaymentDetails.qtHalfWages}
				</td>
				<td>
					${paydayPaymentDetails.qtTwoWages}
				</td>
				<td>
					${paydayPaymentDetails.standardWages}
				</td>
				<td>
					${paydayPaymentDetails.qtTwoPointTwoFiveWages}
				</td>
				<td>
					${paydayPaymentDetails.qtThreeWages}
				</td>
				<td>
					${paydayPaymentDetails.legalHolidaysWages}
				</td>
				<td>
					${paydayPaymentDetails.paidAnnualLeaveWages}
				</td>
				<td>
					${paydayPaymentDetails.paidSickLeaveWages}
				</td>
				<td>
					${paydayPaymentDetails.tuneOffWages}
				</td>
				<td>
					${paydayPaymentDetails.funeralLeaveWages}
				</td>
				<td>
					${paydayPaymentDetails.maternityLeaveWages}
				</td>
				<td>
					${paydayPaymentDetails.otherHolidaysWages}
				</td>
				<td>
					${paydayPaymentDetails.qtQuarterHours}
				</td>
				<td>
					${paydayPaymentDetails.qtHalfHours}
				</td>
				<td>
					${paydayPaymentDetails.qtTwoHours}
				</td>
				<td>
					${paydayPaymentDetails.qtTwoPointTwoFiveHours}
				</td>
				<td>
					${paydayPaymentDetails.qtThreeHours}
				</td>
				<td>
					${paydayPaymentDetails.totalWages}
				</td>
				<td>
					${paydayPaymentDetails.hourlyStandard}
				</td>
				<td>
					${paydayPaymentDetails.vatRate}
				</td>
				<td>
					${paydayPaymentDetails.actuPayWages}
				</td>
				<td>
					${paydayPaymentDetails.employerCost}
				</td>
				<td>
					${paydayPaymentDetails.employerCostRmb}
				</td>
				<td>
					${paydayPaymentDetails.remarks}
				</td>
				<shiro:hasPermission name="paypaymentdetails:paydayPaymentDetails:edit"><td>
    				<a href="${ctx}/paypaymentdetails/paydayPaymentDetails/form?id=${paydayPaymentDetails.id}">修改</a>
					<a href="${ctx}/paypaymentdetails/paydayPaymentDetails/delete?id=${paydayPaymentDetails.id}" onclick="return confirmx('确认要删除该薪资实付明细吗？', this.href)">删除</a>
				</td></shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>